import AsyncComponent from './lazyLoad'
const routes= [
  {
    path: '/',
    exact:true,
    component: AsyncComponent(() => import('../views/home')),
  },
  {
    path: '/login',
    component: AsyncComponent(() => import('../views/login'))
  }
]
export default routes